﻿@model List<Pku.BookStore.Model.PublisherModel>
@using Pku.BookStore.Web.Controllers
@{
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
    ViewBag.Title = "出版社列表-后台管理";
}
<div class="right">
    <div class="m m5" id="buy-area" data-widget="tabs">
        <div class="mt">
            <ul class="tab">
                <li clstag="click|keycount|myhome|onemorder" id="latelyOrderListLi" data="1" class="curr"
                    data-widget="tab-item"><s></s><b></b>出版社列表 </li><li><a href="/Admin/PublisherEdit">新增出版社</a></li>
            </ul>
        </div>
        <div class="mc">
            <div class="tabcon" id="order-list" data-widget="tab-content">
                <div class="mc">
                    <div id="order-list" class="tabcon">
                        <div id="latelyOrderListDiv" class="tb-void tb-rows">
                            <table cellspacing="0" cellpadding="0" border="0" width="100%">
                                <tbody>
                                    <tr>
                                        <th width="90">
                                            出版社ID
                                        </th>
                                        <th>
                                            出版社名称
                                        </th>
                                        <th>
                                            操作
                                        </th>
                                    </tr>
                                    @foreach (var item in Model)
                                    {
                                        <tr>
                                            <td>
                                                @item.PublisherID
                                            </td>
                                            <td>
                                                @item.PublisherName
                                            </td>
                                            <td>
                                                <a href="/Admin/PublisherEdit/@item.PublisherID">查看/修改</a><a href="/Admin/PublisherEdit/@item.PublisherID?Act=D" style=" margin-left:20px" onclick="return confirm('你确定删除该记录吗?');">删除</a>
                                            </td>
                                        </tr>
                                    }
                                </tbody>
                            </table>
                        </div>
                        <div class="pager">@Html.Raw(UserControls.Pager(Html, "p", 10, ViewBag.publisherCount))</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--user-area-->
    <div class="clr">
    </div>
</div>
<!--right-->
